using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMVehicleBusiness
    {
        public static clsTMVehicleController cls = new clsTMVehicleController();

        #region[Get-Data]
        public DataTable BindGirdTMVehicle()
        {
            return cls.BindGirdTMVehicle();
        }
        public DataTable BindGirdTMVehicle_Detail_Edit(int id)
        {
            return cls.BindGirdTMVehicle_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMVehicle(clsTMVehicleProperty obj)
        {
            return cls.InsertTMVehicle(obj);
        }
        public static bool UpdateTMVehicle(clsTMVehicleProperty obj)
        {
            return cls.UpdateTMVehicle(obj);
        }
        public static bool DeleteTMVehicle(int id)
        {
            return cls.DeleteTMVehicle(id);
        }
        public bool TMVehicle_Check_Delete_TMCommandTransferOrder(int id)
        {
            return cls.TMVehicle_Check_Delete_TMCommandTransferOrder(id);
        }
        public bool TMVehicle_Check_Delete_TMPlan_TransferOrder(int id)
        {
            return cls.TMVehicle_Check_Delete_TMPlan_TransferOrder(id);
        }
        public bool TMVehicle_Check_Delete_TMSalesReport(int id)
        {
            return cls.TMVehicle_Check_Delete_TMSalesReport(id);
        }
        public bool TMVehicle_Check_Delete_TMDiaryTransferOrder(int id)
        {
            return cls.TMVehicle_Check_Delete_TMDiaryTransferOrder(id);
        }
        public bool TMVehicle_Check_Contract(int id)
        {
            return cls.TMVehicle_Check_Contract(id);
        }
        #endregion

        #region[Search]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}